package com.Q05;

/**
 * @version v1.0.0
 * 创建时间：2022/7/18 11:28
 */
public class Q05_06 {
    public int convertInteger(int A, int B) {
        int temp = A ^ B;
        int ans = 0;
        while(temp!=0){
            if((temp & 1)==1)
                ans ++;
            temp = temp>>>1;
        }
        return ans;
    }
}
